import {Component} from '@angular/core';

@Component({
  selector: 'app-charge',
  templateUrl: './charge.component.html',
  styleUrl: './charge.component.scss'
})
export class ChargeComponent {
  headerTitle: string = "光储充放";
  items: ICharge[] = [{
    imgUrl: "assets/shared/components/card/charge.png",
    title: "装机容量(充)",
    content: 400,
    unit: "kW",
    color: "#02A7F0"
  },{
    imgUrl: "assets/shared/components/card/discharge.png",
    title: "装机容量(放)",
    content: 400,
    color: "#00FFFF",
    unit: "kW"
  }]
}

interface ICharge {
  imgUrl: "assets/shared/components/card/charge.png" | "assets/shared/components/card/discharge.png";
  title: "装机容量(充)" | "装机容量(放)";
  content: number;
  unit: "kW";
  color: string;
}
